{"ast":null,"code":"var _jsxFileName = \"/data/messenger.client/src/modules/RegistrationForm/components/RegistrationForm.tsx\",\n  _s = $RefreshSig$();\nimport React, { useState } from 'react';\nimport { Context } from \"../../../index\";\nimport { useForm, Controller, useFormState } from 'react-hook-form';\nimport Typography from '@mui/material/Typography';\nimport TextField from '@mui/material/TextField';\nimport { emailValidation, nicknameValidation, passwordValidation, confirmPassword } from '../../validation';\nimport Button from \"../../../components/Button\";\nimport MailOutlineIcon from '@mui/icons-material/MailOutline';\nimport VpnKeyOutlinedIcon from '@mui/icons-material/VpnKeyOutlined';\nimport AlternateEmailOutlinedIcon from '@mui/icons-material/AlternateEmailOutlined';\nimport styles from '../../Form.module.scss';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst RegistrationForm = props => {\n  _s();\n  const {\n    store\n  } = React.useContext(Context);\n  const {\n    handleSubmit,\n    control,\n    watch\n  } = useForm();\n  const {\n    errors\n  } = useFormState({\n    control\n  });\n  const [data] = useState({\n    login: 'login'\n  });\n  const onSubmit = data => {\n    store.setIsError(false);\n    store.signUp(data);\n    if (props.updateInfo) {\n      props.updateInfo(true);\n    }\n  };\n  return /*#__PURE__*/_jsxDEV(\"div\", {\n    className: styles.authForm,\n    children: [/*#__PURE__*/_jsxDEV(Typography, {\n      variant: \"h4\",\n      component: \"div\",\n      className: styles.authFormTitle,\n      children: \"\\u0417\\u0430\\u0440\\u0435\\u0433\\u0438\\u0441\\u0442\\u0440\\u0438\\u0440\\u0443\\u0439\\u0442\\u0435\\u0441\\u044C\"\n    }, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 34,\n      columnNumber: 13\n    }, this), /*#__PURE__*/_jsxDEV(Typography, {\n      variant: \"subtitle1\",\n      gutterBottom: true,\n      component: \"div\",\n      className: styles.authFormSubtitle,\n      children: \"\\u0427\\u0442\\u043E\\u0431\\u044B \\u043F\\u043E\\u043B\\u0443\\u0447\\u0438\\u0442\\u044C \\u0444\\u0443\\u043D\\u043A\\u0446\\u0438\\u043E\\u043D\\u0430\\u043B \\u043F\\u0440\\u0438\\u043B\\u043E\\u0436\\u0435\\u043D\\u0438\\u044F\"\n    }, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 37,\n      columnNumber: 13\n    }, this), /*#__PURE__*/_jsxDEV(\"form\", {\n      className: styles.authForm__form,\n      onSubmit: handleSubmit(onSubmit),\n      children: [/*#__PURE__*/_jsxDEV(Controller, {\n        control: control,\n        name: \"email\",\n        rules: emailValidation,\n        render: _ref => {\n          var _errors$email, _errors$email2;\n          let {\n            field\n          } = _ref;\n          return /*#__PURE__*/_jsxDEV(TextField, {\n            label: \"\\u042D\\u043B. \\u0430\\u0434\\u0440\\u0435\\u0441\",\n            InputProps: {\n              endAdornment: /*#__PURE__*/_jsxDEV(MailOutlineIcon, {\n                className: styles.formIcon\n              }, void 0, false, {\n                fileName: _jsxFileName,\n                lineNumber: 51,\n                columnNumber: 37\n              }, this)\n            },\n            onChange: e => field.onChange(e),\n            value: field.value || '',\n            fullWidth: true,\n            size: \"small\",\n            margin: \"normal\",\n            type: \"email\",\n            error: !!((_errors$email = errors.email) !== null && _errors$email !== void 0 && _errors$email.message),\n            helperText: (_errors$email2 = errors.email) === null || _errors$email2 === void 0 ? void 0 : _errors$email2.message\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 47,\n            columnNumber: 25\n          }, this);\n        }\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 42,\n        columnNumber: 17\n      }, this), /*#__PURE__*/_jsxDEV(Controller, {\n        control: control,\n        name: \"nickname\",\n        rules: nicknameValidation,\n        render: _ref2 => {\n          var _errors$nickname, _errors$nickname2;\n          let {\n            field\n          } = _ref2;\n          return /*#__PURE__*/_jsxDEV(TextField, {\n            label: \"\\u041F\\u0441\\u0435\\u0432\\u0434\\u043E\\u043D\\u0438\\u043C\",\n            InputProps: {\n              endAdornment: /*#__PURE__*/_jsxDEV(AlternateEmailOutlinedIcon, {\n                className: styles.formIcon\n              }, void 0, false, {\n                fileName: _jsxFileName,\n                lineNumber: 74,\n                columnNumber: 37\n              }, this)\n            },\n            onChange: e => field.onChange(e),\n            value: field.value || '',\n            fullWidth: true,\n            size: \"small\",\n            margin: \"normal\",\n            type: \"text\",\n            error: !!((_errors$nickname = errors.nickname) !== null && _errors$nickname !== void 0 && _errors$nickname.message),\n            helperText: (_errors$nickname2 = errors.nickname) === null || _errors$nickname2 === void 0 ? void 0 : _errors$nickname2.message\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 70,\n            columnNumber: 25\n          }, this);\n        }\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 65,\n        columnNumber: 17\n      }, this), /*#__PURE__*/_jsxDEV(Controller, {\n        control: control,\n        name: \"password\",\n        rules: passwordValidation,\n        render: _ref3 => {\n          var _errors$password, _errors$password2;\n          let {\n            field\n          } = _ref3;\n          return /*#__PURE__*/_jsxDEV(TextField, {\n            label: \"\\u041F\\u0430\\u0440\\u043E\\u043B\\u044C\",\n            InputProps: {\n              endAdornment: /*#__PURE__*/_jsxDEV(VpnKeyOutlinedIcon, {\n                className: styles.formIcon\n              }, void 0, false, {\n                fileName: _jsxFileName,\n                lineNumber: 97,\n                columnNumber: 37\n              }, this)\n            },\n            onChange: e => field.onChange(e),\n            value: field.value || '',\n            fullWidth: true,\n            size: \"small\",\n            margin: \"normal\",\n            type: \"password\",\n            helperText: (_errors$password = errors.password) === null || _errors$password === void 0 ? void 0 : _errors$password.message,\n            error: !!((_errors$password2 = errors.password) !== null && _errors$password2 !== void 0 && _errors$password2.message)\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 93,\n            columnNumber: 25\n          }, this);\n        }\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 88,\n        columnNumber: 17\n      }, this), /*#__PURE__*/_jsxDEV(Controller, {\n        control: control,\n        name: \"confirmPassword\",\n        rules: confirmPassword(watch('password'), watch('confirmPassword')),\n        render: _ref4 => {\n          var _errors$confirmPasswo, _errors$confirmPasswo2;\n          let {\n            field\n          } = _ref4;\n          return /*#__PURE__*/_jsxDEV(TextField, {\n            label: \"\\u041F\\u043E\\u0432\\u0442\\u043E\\u0440\\u0438\\u0442\\u0435 \\u043F\\u0430\\u0440\\u043E\\u043B\\u044C\",\n            InputProps: {\n              endAdornment: /*#__PURE__*/_jsxDEV(VpnKeyOutlinedIcon, {\n                className: styles.formIcon\n              }, void 0, false, {\n                fileName: _jsxFileName,\n                lineNumber: 120,\n                columnNumber: 37\n              }, this)\n            },\n            onChange: e => field.onChange(e),\n            value: field.value || '',\n            fullWidth: true,\n            size: \"small\",\n            margin: \"normal\",\n            type: \"password\",\n            helperText: (_errors$confirmPasswo = errors.confirmPassword) === null || _errors$confirmPasswo === void 0 ? void 0 : _errors$confirmPasswo.message,\n            error: !!((_errors$confirmPasswo2 = errors.confirmPassword) !== null && _errors$confirmPasswo2 !== void 0 && _errors$confirmPasswo2.message)\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 116,\n            columnNumber: 25\n          }, this);\n        }\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 111,\n        columnNumber: 17\n      }, this), /*#__PURE__*/_jsxDEV(Button, {\n        text: 'Регистрация'\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 134,\n        columnNumber: 17\n      }, this)]\n    }, void 0, true, {\n      fileName: _jsxFileName,\n      lineNumber: 41,\n      columnNumber: 13\n    }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n      className: styles.authForm__footer,\n      children: /*#__PURE__*/_jsxDEV(Typography, {\n        variant: \"subtitle1\",\n        component: \"span\",\n        className: styles.link,\n        onClick: () => {\n          store.setIsError(false);\n          if (props.updateInfo) {\n            props.updateInfo(false);\n          }\n          props.updateData(data.login);\n        },\n        children: \"\\u0412\\u043E\\u0439\\u0442\\u0438\"\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 138,\n        columnNumber: 17\n      }, this)\n    }, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 137,\n      columnNumber: 13\n    }, this)]\n  }, void 0, true, {\n    fileName: _jsxFileName,\n    lineNumber: 33,\n    columnNumber: 9\n  }, this);\n};\n_s(RegistrationForm, \"Uu/QyVeyC2pMdkgXUCJHF+t44VQ=\", false, function () {\n  return [useForm, useFormState];\n});\n_c = RegistrationForm;\nexport default RegistrationForm;\nvar _c;\n$RefreshReg$(_c, \"RegistrationForm\");","map":{"version":3,"names":["React","useState","Context","useForm","Controller","useFormState","Typography","TextField","emailValidation","nicknameValidation","passwordValidation","confirmPassword","Button","MailOutlineIcon","VpnKeyOutlinedIcon","AlternateEmailOutlinedIcon","styles","RegistrationForm","props","store","useContext","handleSubmit","control","watch","errors","data","login","onSubmit","setIsError","signUp","updateInfo","authForm","authFormTitle","authFormSubtitle","authForm__form","field","endAdornment","formIcon","e","onChange","value","email","message","nickname","password","authForm__footer","link","updateData"],"sources":["/data/messenger.client/src/modules/RegistrationForm/components/RegistrationForm.tsx"],"sourcesContent":["import React, {useState} from 'react';\nimport {Context} from \"../../../index\";\nimport {useForm, Controller, SubmitHandler, useFormState} from 'react-hook-form';\nimport SignUpRequest from \"../../../models/request/SignUpRequest\";\nimport Typography from '@mui/material/Typography';\nimport TextField from '@mui/material/TextField';\nimport {emailValidation, nicknameValidation, passwordValidation, confirmPassword} from '../../validation';\nimport {AuthProps} from \"../../../models/props/AuthProps\";\nimport Button from \"../../../components/Button\";\nimport MailOutlineIcon from '@mui/icons-material/MailOutline';\nimport VpnKeyOutlinedIcon from '@mui/icons-material/VpnKeyOutlined';\nimport AlternateEmailOutlinedIcon from '@mui/icons-material/AlternateEmailOutlined';\nimport styles from '../../Form.module.scss';\n\nconst RegistrationForm: React.FC<AuthProps> = (props) => {\n    const {store} = React.useContext(Context);\n    const {handleSubmit, control, watch} = useForm<SignUpRequest>();\n    const {errors} = useFormState({control});\n    const [data] = useState({\n            login: 'login'\n        }\n    );\n\n    const onSubmit: SubmitHandler<SignUpRequest> = (data) => {\n        store.setIsError(false);\n        store.signUp(data);\n        if (props.updateInfo) {\n            props.updateInfo(true);\n        }\n    };\n\n    return (\n        <div className={styles.authForm}>\n            <Typography variant=\"h4\" component=\"div\" className={styles.authFormTitle}>\n                Зарегистрируйтесь\n            </Typography>\n            <Typography variant=\"subtitle1\" gutterBottom component=\"div\" className={styles.authFormSubtitle}>\n                Чтобы получить функционал приложения\n            </Typography>\n\n            <form className={styles.authForm__form} onSubmit={handleSubmit(onSubmit)}>\n                <Controller\n                    control={control}\n                    name=\"email\"\n                    rules={emailValidation}\n                    render={({ field }) => (\n                        <TextField\n                            label=\"Эл. адрес\"\n                            InputProps={{\n                                endAdornment: (\n                                    <MailOutlineIcon className={styles.formIcon}/>\n                                ),\n                            }}\n                            onChange={(e) => field.onChange(e)}\n                            value={field.value || ''}\n                            fullWidth={ true }\n                            size=\"small\"\n                            margin=\"normal\"\n                            type=\"email\"\n                            error={!!errors.email?.message}\n                            helperText={errors.email?.message}\n                        />\n                    )}\n                />\n                <Controller\n                    control={control}\n                    name=\"nickname\"\n                    rules={nicknameValidation}\n                    render={({ field }) => (\n                        <TextField\n                            label=\"Псевдоним\"\n                            InputProps={{\n                                endAdornment: (\n                                    <AlternateEmailOutlinedIcon className={styles.formIcon}/>\n                                ),\n                            }}\n                            onChange={(e) => field.onChange(e)}\n                            value={field.value || ''}\n                            fullWidth={ true }\n                            size=\"small\"\n                            margin=\"normal\"\n                            type=\"text\"\n                            error={!!errors.nickname?.message}\n                            helperText={errors.nickname?.message}\n                        />\n                    )}\n                />\n                <Controller\n                    control={control}\n                    name=\"password\"\n                    rules={passwordValidation}\n                    render={({ field }) => (\n                        <TextField\n                            label=\"Пароль\"\n                            InputProps={{\n                                endAdornment: (\n                                    <VpnKeyOutlinedIcon className={styles.formIcon}/>\n                                ),\n                            }}\n                            onChange={(e) => field.onChange(e)}\n                            value={field.value || ''}\n                            fullWidth={ true }\n                            size=\"small\"\n                            margin=\"normal\"\n                            type=\"password\"\n                            helperText={errors.password?.message}\n                            error={!!errors.password?.message}\n                        />\n                    )}\n                />\n                <Controller\n                    control={control}\n                    name=\"confirmPassword\"\n                    rules={confirmPassword(watch('password'), watch('confirmPassword'))}\n                    render={({ field }) => (\n                        <TextField\n                            label=\"Повторите пароль\"\n                            InputProps={{\n                                endAdornment: (\n                                    <VpnKeyOutlinedIcon className={styles.formIcon}/>\n                                ),\n                            }}\n                            onChange={(e) => field.onChange(e)}\n                            value={field.value || ''}\n                            fullWidth={ true }\n                            size=\"small\"\n                            margin=\"normal\"\n                            type=\"password\"\n                            helperText={errors.confirmPassword?.message}\n                            error={!!errors.confirmPassword?.message}\n                        />\n                    )}\n                />\n                <Button text={'Регистрация'} />\n            </form>\n\n            <div className={styles.authForm__footer}>\n                <Typography variant=\"subtitle1\" component=\"span\" className={styles.link}\n                            onClick = {() => {\n                                store.setIsError(false);\n                                if (props.updateInfo) {\n                                    props.updateInfo(false);\n                                }\n                                props.updateData(data.login);\n                            }}>\n                    Войти\n                </Typography>\n            </div>\n        </div>\n    );\n}\n\nexport default RegistrationForm;"],"mappings":";;AAAA,OAAOA,KAAK,IAAGC,QAAQ,QAAO,OAAO;AACrC,SAAQC,OAAO,QAAO,gBAAgB;AACtC,SAAQC,OAAO,EAAEC,UAAU,EAAiBC,YAAY,QAAO,iBAAiB;AAEhF,OAAOC,UAAU,MAAM,0BAA0B;AACjD,OAAOC,SAAS,MAAM,yBAAyB;AAC/C,SAAQC,eAAe,EAAEC,kBAAkB,EAAEC,kBAAkB,EAAEC,eAAe,QAAO,kBAAkB;AAEzG,OAAOC,MAAM,MAAM,4BAA4B;AAC/C,OAAOC,eAAe,MAAM,iCAAiC;AAC7D,OAAOC,kBAAkB,MAAM,oCAAoC;AACnE,OAAOC,0BAA0B,MAAM,4CAA4C;AACnF,OAAOC,MAAM,MAAM,wBAAwB;AAAC;AAE5C,MAAMC,gBAAqC,GAAIC,KAAK,IAAK;EAAA;EACr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